package com.hitown.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 组实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_DICTIONARY")
@ApiModel(value="T_DICTIONARY对象", description="字典表")
public class Tdictionary implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID")
    @ApiModelProperty
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "字典类型")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "字典名称")
    @TableField("MC")
    private String mc;

    @ApiModelProperty(value = "字典内容")
    @TableField("CONTENT")
    private String content;

    @ApiModelProperty(value = "父ID")
    @TableField("P_ID")
    private String pId;

    @ApiModelProperty(value = "排序")
    @TableField("SORT")
    private String sort;
}
